package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 退款方式
 * @author panbo
 * @since 2024/8/1
 */
@Getter
@AllArgsConstructor
@Dict("退款方式")
public enum RefundWayEnum implements DictEnum<Integer> {
    ONLINE(0, "线下"),
    WECHAT(1, "线上：微信"),
    ALIPAY(2, "线上：支付宝"),
    BANK(3, "线上：银行");

    @JsonValue
    @EnumValue
    private final Integer value;
    private final String label;

}
